package com.hmall.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;

import java.time.Duration;

/**
 * Jwt 属性
 *
 * @author Zhy
 * @version 1.0
 * @date 2025-03-18 11:26
 */
@Data
@ConfigurationProperties(prefix = "hm.jwt")
public class JwtProperties {
	private Resource location;
	private String password;
	private String alias;
	private Duration tokenTTL = Duration.ofMinutes(60);
}
